from sympy import *
from numpy import *
from scipy import *
import matplotlib.pyplot as plt
class ApFunction:
    def _inin_(self):
       self.ok=1
    def draw(self):
        plt.plot(xxx, yyy, '*',label='original values')
        plt.plot(xxx, yvals, 'r',label='polyfit values')
        plt.xlabel('x axis')
        plt.ylabel('y axis')
        plt.legend(loc=4)
        plt.title('polyfitting')